<!DOCTYPE html>
<html lang="zh">
<head>
<title>日志管理 | OMS</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="Thu, 19 Nov 1900 08:52:00 GMT" />

<!-- 加载 bootstrap 样式-->
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.min.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/font-awesome/css/font-awesome.min.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap/css/bootstrap.min.css" />

<!-- 加载本页需要的三方插件样式 -->
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/jquery.dataTables.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/extensions/TableTools/css/dataTables.tableTools.min.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/dataTables.bootstrap.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-tablesorter/themes/blue/style-custom.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-bootstrap-wizard/custom.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-steps/css/jquery.steps.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/animate.css/animate.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/iCheck/skins/all.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/extensions/FixedColumns/css/fixedColumns.dataTables.css">


<!-- 加载主题风格样式 -->
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" class="default-style" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" id="theme-change"
    class="style-change color-change" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/style-responsive.css" />

<link type="text/css" rel="stylesheet" href="/css/tooltip.css" />

<link type="text/css" rel="stylesheet" href="/css/log.css" />
</head>
<body class="">
    <!--BEGIN CONTENT-->
    <div class="page-content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-8 col-xs-8 col-sm-8 col-md-8"></div>
                <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4" style="margin-bottom: 10px;">
                    <div class="input-group">
                        <input id="quickSearch" type="text" placeholder="日志明细" class="form-control" value="" /> <span class="input-group-btn">
                            <button id="btnQuickSearch" type="button" class="btn btn-primary">
                                <i class="fa fa-search"></i>
                            </button>
                            <button id="btnAdvSearch" type="button" class="btn btn-default btn-adv-search">
                                <i class="fa fa-angle-double-down" style="font-size: 20px; color: white;"></i>
                            </button>
                        </span>
                    </div>
                </div>
            </div>
            <!-- 高级查询 -->
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="portlet box portlet-blue tabbable" style="margin-bottom:0px;">
            <div class="panel panel-default" id="advSearchPanel" style="display: none">
                <div class="panel-body">
                    <form id="frmAdvSearch" role="form" action="" class="form-horizontal advance-query">
                        <div class="row">
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="bizId" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">单据编号</label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="bizId" name="bizId" type="text" placeholder="" minlength="1" maxlength="32"
                                            class="form-control forsubmiteq" fieldname="item.bizId" fieldtype="string" fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="tag" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">模块</label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="tag" name="tag" type="text" placeholder="" minlength="1" maxlength="32"
                                            class="form-control forsubmiteq" fieldname="item.tag" fieldtype="string" fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="user" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">用户</label>
                                     <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="user" name="user" type="text" placeholder="" minlength="1" maxlength="32"
                                            class="form-control forsubmiteq" fieldname="item.user" fieldtype="string" fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="operation" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">操作内容</label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="operation" name="operation" type="text" placeholder="" minlength="1" maxlength="32"
                                            class="form-control forsubmiteq" fieldname="item.operation" fieldtype="string" fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4" style="display: none;">
                                <div class="form-group">
	                                <label for="operTimeStart" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">操作开始时间</label>
	                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
	                                    <div class="input-group datetimepicker-default date">
	                                    <input id="operTimeStart" name="operTimeStart" type="text" class="form-control"
	                                           placeholder="" data-format="YYYY-MM-DD HH:mm:ss" readonly />
	                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
	                                    </div>
	                                </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4" style="display: none;">
                                <div class="form-group">
	                                <label for="operTimeEnd" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">操作结束时间</label>
	                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
	                                    <div class="input-group datetimepicker-default date">
	                                    <input id="operTimeEnd" name="operTimeEnd" type="text" class="form-control"
	                                           placeholder="" data-format="YYYY-MM-DD HH:mm:ss" readonly />
	                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
	                                    </div>
	                                </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-12 col-lg-12 col-xs-12 col-md-12 text-right">
                                <button type="reset" id="advSearchReset" name="advSearchReset" class="btn btn-default">重置</button>
                                <button type="button" id="advSearchSubmit" name="advSearchSubmit" class="btn btn-primary">查询</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            </div>
            </div>
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <div class="portlet box portlet-blue" style="margin-bottom: 15px;">
                        <div class="portlet-header">
                            <div class="caption">日志列表</div>
                        </div>
                        <div class="portlet-body">
                            <table id="logTable" class="table table-hover table-striped table-bordered table-advanced tb-sticky-header" style="table-layout:fixed;"
                                width="100%">
                                <thead>
                                    <tr>
                                        <th width="15%" colValue="operTime">操作时间</th>
                                        <th width="25%" colValue="bizId">单据编号</th>
                                        <th width="10%" colValue="tag">模块</th>
                                        <th width="10%" colValue="user">用户</th>
                                        <th width="15%" colValue="operation">操作内容</th>
                                        <th width="35%" colValue="detail">日志明细</th>
                                    </tr>
                                </thead>
                                <tbody></tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


  	<div id="viewPage"  tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
            <div class="modal-dialog">
                <div class="modal-content"  style="width:790px">
                    <div class="modal-header modal-header-primary">
                        <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                        <h4 id="modal-header-primary-label" class="modal-title">日志详情</h4>
                    </div>
                    <div class="modal-body">
						<form id="appForm" role="form"  class="form-horizontal">
							<div class="form-group">
								<label for="bizId" class="col-sm-2 control-label">业务Id
								</label>
								<div class="col-sm-4">
                                    <input id="bizId"  name="bizId"  type="text" readonly="readonly"  class="form-control " />
								</div>
								<label for="tag" class="col-sm-2 control-label">标签
								</label>
								<div class="col-sm-4">
                                    <input id="tag"  name="tag"  type="text" readonly="readonly"  class="form-control " />
								</div>
							</div>
							<div class="form-group">
								<label for="user" class="col-sm-2 control-label">用户
								</label>
								<div class="col-sm-4">
                                    <input id="user"  name="user"  type="text"  readonly="readonly" class="form-control " />
								</div>
								<label for="operTime" class="col-sm-2 control-label">操作时间
								</label>
								<div class="col-sm-4">
                                    <input id="operTime"  name="operTime"  type="text" readonly="readonly"  class="form-control " />
								</div>
							</div>
							<div class="form-group">
								<label for="logType" class="col-sm-2 control-label">日志类型 
								</label>
								<div class="col-sm-4">
                                    <input id="logType"  name="logType"  type="text" readonly="readonly"  class="form-control " />
								</div>
								<label for="sourceType" class="col-sm-2 control-label">来源类型
								</label>
								<div class="col-sm-4">
                                    <input id="sourceType"  name="sourceType"  type="text"  readonly="readonly" class="form-control " />
								</div>
							</div>
							<div class="form-group">
								<label for="detail" class="col-sm-2 control-label">日志明细
								</label>
								<div class="col-sm-10">
                                    <textarea id="detail"  name="detail" rows="3"  readonly="readonly"  class="form-control"></textarea>
								</div>
							</div>
							<div class="form-group">
								<label for="operation" class="col-sm-2 control-label">操作内容
								</label>
								<div class="col-sm-10">
									<textarea id="operation"  name="operation" rows="3"  readonly="readonly"  class="form-control"></textarea>
								</div>
							</div>
						</form>
					</div>
                    <div class="modal-footer">
                        <button type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
<!--                         <button id="btnSaveApp" type="button" class="btn btn-primary">保存</button> -->
                    </div>
                </div>
            </div>
        </div>
	
    <!--END CONTENT -->
    <!-- 加载 jquery js-->
    <script src="/Apollo/madmin/js/jquery-1.10.2.min.js"></script>
    <script src="/Apollo/madmin/js/jquery-migrate-1.2.1.min.js"></script>
    <script src="/Apollo/madmin/js/jquery-ui.js"></script>

    <!-- 加载 bootstrap 和三方插件 js -->
    <script src="/Apollo/madmin/vendors/bootstrap/js/bootstrap.min.js"></script>
    <script src="/Apollo/madmin/vendors/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js"></script>
    <script src="/Apollo/madmin/js/html5shiv.js"></script>
    <script src="/Apollo/madmin/js/respond.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-cookie/jquery.cookie.js"></script>
    <script src="/Apollo/madmin/vendors/iCheck/icheck.min.js"></script>
    <script src="/Apollo/madmin/vendors/iCheck/custom.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-pace/pace.min.js"></script>
    <script src="/Apollo/madmin/vendors/holder/holder.js"></script>
    <script src="/Apollo/madmin/vendors/responsive-tabs/responsive-tabs.js"></script>
    <script src="/Apollo/madmin/vendors/moment/moment.js"></script>
    <script src="/Apollo/madmin/vendors/bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/media/js/jquery.dataTables.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/media/js/dataTables.bootstrap.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/extensions/TableTools/js/dataTables.tableTools.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-tablesorter/jquery.tablesorter.js"></script>
    <script src="/Apollo/madmin/js/table-advanced.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-validate/jquery.validate.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-validate/message_zh.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-steps/js/jquery.steps.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-bootstrap-wizard/jquery.bootstrap.wizard.min.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/extensions/FixedColumns/js/dataTables.fixedColumns.js"></script>
    

    <!-- 加载本页面对应的js -->
    <script src="/views/static/js/export.js"></script>
    <script src="/views/static/js/form.js"></script>

    <script src="logList.js"></script>
</body>
</html>